package com.zhang.gulimall.authserver.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

@FeignClient("gulimall-third-party")
public interface ThirdPartyFeign {

    @GetMapping("/msm/sendCode")
    @ResponseBody
    Boolean sendCode(@RequestParam String email, @RequestParam String code);
}
